{extend name="Public:base"/}

{block name="main"}
<div class="box-info">
    <form action="{:U('UserGroup/edit')}" method="post">
        <input type="hidden" id="id" name="id" value="{$vo['id']}" />
        <div class="form-group row">
            <label class="form-control-label col-md-2">会员组名</label>
            <div class="col-md-5"><input type="text" name="name" class="form-control" class="input-text"  value="{$vo['name']}" validate="required:true,cn_username:true, minlength:2, maxlength:20"/></div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">描述</label>
            <div class="col-md-5">
                <textarea name="remark" class="form-control">{$vo['remark']}</textarea>
            </div>
        </div>
        <div class="form-actions">
            <button type="submit" class="btn btn-primary ajax_form_edit">提交</button>
            <button type="button" class="btn btn-danger" onclick="javascript:history.back(-1);return false;">返回</button>
        </div>
    </form>

</div>
{/block}